<?php

namespace Hui\StoreBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Hui\StoreBundle\Entity\ChiTietDonHang
 */
class ChiTietDonHang
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var integer $soLuong
     */
    private $soLuong;

    /**
     * @var Hui\StoreBundle\Entity\DonHang
     */
    private $idDonHang;

    /**
     * @var Hui\StoreBundle\Entity\ThongTinSanPham
     */
    private $idThongTinSanPham;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set soLuong
     *
     * @param integer $soLuong
     * @return ChiTietDonHang
     */
    public function setSoLuong($soLuong)
    {
        $this->soLuong = $soLuong;
    
        return $this;
    }

    /**
     * Get soLuong
     *
     * @return integer 
     */
    public function getSoLuong()
    {
        return $this->soLuong;
    }

    /**
     * Set idDonHang
     *
     * @param Hui\StoreBundle\Entity\DonHang $idDonHang
     * @return ChiTietDonHang
     */
    public function setIdDonHang(\Hui\StoreBundle\Entity\DonHang $idDonHang = null)
    {
        $this->idDonHang = $idDonHang;
    
        return $this;
    }

    /**
     * Get idDonHang
     *
     * @return Hui\StoreBundle\Entity\DonHang 
     */
    public function getIdDonHang()
    {
        return $this->idDonHang;
    }

    /**
     * Set idThongTinSanPham
     *
     * @param Hui\StoreBundle\Entity\ThongTinSanPham $idThongTinSanPham
     * @return ChiTietDonHang
     */
    public function setIdThongTinSanPham(\Hui\StoreBundle\Entity\ThongTinSanPham $idThongTinSanPham = null)
    {
        $this->idThongTinSanPham = $idThongTinSanPham;
    
        return $this;
    }

    /**
     * Get idThongTinSanPham
     *
     * @return Hui\StoreBundle\Entity\ThongTinSanPham 
     */
    public function getIdThongTinSanPham()
    {
        return $this->idThongTinSanPham;
    }
}